package com.solarStruggle.controls

import scala.swing.{Menu, MenuBar, MenuItem}
import actions.{Actions}

/**
 * The main menu for the application
 */
class MainMenu(actions: Actions)
extends MenuBar {

  contents += new Menu("Game") {
    contents += new MenuItem(actions.newGame)
  }
  
  contents += new Menu("View") {
    contents += new MenuItem(actions.zoomIn)
    contents += new MenuItem(actions.zoomOut)
    contents += new MenuItem(actions.zoomReset)
  }
  
}
